﻿namespace EyeOpen.TimeAssistant.Data
{
    using System;
    using EyeOpen.Security.Data;
    using EyeOpen.TimeAssistant.Domain;

    public sealed class TimeAssistantDataContext : SecurityDataContext<ITimeAssistantDataContext>, ITimeAssistantDataContext
    {
        public TimeAssistantDataContext(ITimeAssistantDataContext dataContext)
            : base(dataContext)
        {
        }

        public void Add(Project project)
        {
            DataContext.Add(project);
        }

        public void Add(UserStory project)
        {
            DataContext.Add(project);
        }
    }
}